home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Container / Sources / Iters.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.4 KB  |  57 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                Iters.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef ITERS_H
  11. #define ITERS_H
  12.  
  13. #ifndef PROXY_H
  14. #include "Proxy.h"
  15. #endif
  16.  
  17. // ----- Foundation Layer -----
  18.  
  19. #ifndef FWRUNTYP_H
  20. #include "FWRunTyp.h"
  21. #endif
  22.  
  23. #ifndef FWTCOLL_H
  24. #include "FWTColl.h"
  25. #endif
  26.  
  27. //========================================================================================
  28. // class CProxyCollection
  29. //========================================================================================
  30.  
  31. class CProxyCollection : public FW_TOrderedCollection<CProxy>
  32. {
  33. public:
  34.     FW_DECLARE_AUTO(CProxyCollection)
  35.     
  36.     CProxyCollection() :
  37.         FW_TOrderedCollection<CProxy>(){}
  38.     ~CProxyCollection() {}
  39. };
  40.  
  41. //========================================================================================
  42. // class CProxyCollectionIterator
  43. //========================================================================================
  44.  
  45. class CProxyCollectionIterator : public FW_TOrderedCollectionIterator<CProxy>
  46. {
  47. public:
  48.     FW_DECLARE_AUTO(CProxyCollectionIterator)
  49.     
  50.     CProxyCollectionIterator(CProxyCollection* collection) :
  51.         FW_TOrderedCollectionIterator<CProxy>(collection){}
  52.     ~CProxyCollectionIterator() {}
  53. };
  54.  
  55.  
  56. #endif
  57.